#!/bin/sh

set -e

lb config noauto \
	-b iso-hybrid \
	--bootappend-install "locale=zh_CN.UTF-8" \
	--mirror-bootstrap https://mirror.sjtu.edu.cn/debian-ports/ \
	-d sid \
	--bootloaders grub-efi \
	--keyring-packages debian-archive-keyring \
	--apt-secure false \
	--build-with-chroot true \
	--debian-installer cdrom \
	--debug \
	--parent-mirror-debian-installer http://localhost/ \
	"${@}"
